package com.yangrd.airship.upms.domain;

import com.github.wenhao.jpa.Specifications;
import org.springframework.data.jpa.domain.Specification;

/**
 * @author yangrd
 * @date 2021-07-03
 */
public interface DictSpec {

     static Specification<Dict> toSpec(String keyword){
         return Specifications.<Dict>and().eq("keyword", keyword).build();
     }
}
